import request_1 from '../utils/request.js'
import globalData from '../globalData.js'


const request = new request_1();

// 查询个人的占位订单列表
export const getMyOccupyBillPage = function (params) {
    return request.postRequest({
        url: 'getMyOccupyBillPage',
        data: params
    });
}; 

// 占位订单详情
export const getBillDetailById = function (id) {
    return request.postRequest({
        url: 'getBillDetailById?id='+id
    });
}; 


// 充完即退：发起微信支付-预下单
export const unifiedOrders = function (params) {
    return request.postRequest({
        url: 'disposable/unifiedOrders',
        data: params
    });
};

// 充完即退：查询账单结果（获取微信支付订单结果），并记录
export const orderResultQuery = function (params) {
    return request.postRequest({
        url: 'disposable/orderResultQuery',
        data: params
    });
};




